package controller

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

type UserController struct{}

func (u *UserController) GetUser(c *gin.Context) {
	userID := c.Param("id")
	c.JSON(http.StatusOK, gin.H{
		"id":   userID,
		"name": "John Doe",
	})
}

func (u *UserController) CreateUser(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "User created",
	})
}
